<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:v="http://corejsf.com/validator">

<f:view>
<f:loadBundle var="text" basename="#{zygdForm.bundleName}"/>
    <head>
        <title>#{text['zygdDetail.title']}</title>
        <meta name="heading" content="#{text['zygdDetail.heading']}"/>
        <style type="text/css">
            .jscalendar-DB-div-style {
                position: absolute;
                margin-top: -120px;
                margin-left: -508px;
            }
    </style>
    </head>
<body id="zygdForm">

<h:form id="zygdForm" onsubmit="return validateZygdForm(this)">

<h:inputHidden value="#{zygdForm.zygd.id}" id="id"/>
<h:inputHidden value="#{zygdForm.zygd.version}" id="version"/>

<h:panelGrid columns="6">
   
    
     <h:outputLabel styleClass="desc" for="xh" value="#{text['zygd.xh']}"/>
    <t:message for="xh" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="xh" value="#{zygdForm.zygd.xh}" required="false" maxlength="255">
    </h:inputText>
    
     <h:outputLabel styleClass="desc" for="username" value="#{text['zygd.username']}"/>
    <t:message for="username" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="username" value="#{zygdForm.zygd.username}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="djzch" value="#{text['zygd.djzch']}"/>
    <t:message for="djzch" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="djzch" value="#{zygdForm.zygd.djzch}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="dkkh" value="#{text['zygd.dkkh']}"/>
    <t:message for="dkkh" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="dkkh" value="#{zygdForm.zygd.dkkh}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="gdlx" value="#{text['zygd.gdlx']}"/>
    <t:message for="gdlx" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="gdlx" value="#{zygdForm.zygd.gdlx}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="gdmc" value="#{text['zygd.gdmc']}"/>
    <t:message for="gdmc" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="gdmc" value="#{zygdForm.zygd.gdmc}" required="false" maxlength="50">
    </h:inputText>
  
   
   
    <h:outputLabel styleClass="desc" for="zjhm" value="#{text['zygd.zjhm']}"/>
    <t:message for="zjhm" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zjhm" value="#{zygdForm.zygd.zjhm}" required="false" maxlength="30">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zjlx" value="#{text['zygd.zjlx']}"/>
    <t:message for="zjlx" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zjlx" value="#{zygdForm.zygd.zjlx}" required="false" maxlength="10">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zzjgdm" value="#{text['zygd.zzjgdm']}"/>
    <t:message for="zzjgdm" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zzjgdm" value="#{zygdForm.zygd.zzjgdm}" required="false" maxlength="50">
    </h:inputText>

</h:panelGrid>
   <h:panelGroup styleClass="buttonBar bottom">
        <h:commandButton value="#{text['button.save']}" action="#{zygdForm.save}" id="save" styleClass="button"/>

        <c:if test="${not empty zygdForm.zygd.id}">
        <h:commandButton value="#{text['button.delete']}" action="#{zygdForm.delete}"
            id="delete" styleClass="button" onclick="bCancel=true; return confirmDelete('Zygd')"/>
        </c:if>

        <h:commandButton value="#{text['button.cancel']}" action="cancel" immediate="true"
            id="cancel" styleClass="button" onclick="bCancel=true"/>
    </h:panelGroup>
</h:form>

<v:validatorScript functionName="validateZygdForm"/>

<script type="text/javascript">
    //Form.focusFirstElement($('zygdForm'));
    highlightFormElements();
</script>

</body>
</f:view>
</html><!--
 
    <h:outputLabel styleClass="desc" for="operation" value="#{text['zygd.operation']}"/>
    <t:message for="operation" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="operation" value="#{zygdForm.zygd.operation}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="optdate" value="#{text['zygd.optdate']}"/>
    <t:message for="optdate" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="optdate" value="#{zygdForm.zygd.optdate}" required="false" maxlength="23">
    </h:inputText>
    
 <h:outputLabel styleClass="desc" for="id" value="#{text['zygd.id']}"/>
    <h:inputText styleClass="text medium" id="id" value="#{zygdForm.zygd.id}" required="true">
        <v:commonsValidator type="required" arg="#{text['zygd.id']}"/>
    </h:inputText>
    <t:message for="id" styleClass="fieldError"/>

 <h:selectOneMenu value="#{zygdForm.zygd.jbqk}" id="jbqk" required="false" styleClass="select">
        <f:selectItems value="#{zygdForm.zygd.jbqk}"/>
    </h:selectOneMenu>
-->